<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head><#assign path="${request.getContextPath()}">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<script src="${path}/jquery/jquery-1.4.1.min.js" type="text/javascript"></script>
<script src="${path}/jquery/galleria.js" type="text/javascript"></script>
<script src="${path}/blogManager/fileManager/js/imagesManager.js" type="text/javascript"></script>
<link href="${path}/css/reset.css" type="text/css" rel="stylesheet"/>
<link href="${path}/css/frame.css" type="text/css" rel="stylesheet"/>
<link href="${path}/css/header.css" type="text/css" rel="stylesheet"/>
<link href="${path}/css/sidebar.css" type="text/css" rel="stylesheet"/>
<link href="${path}/css/pager.css" type="text/css" rel="stylesheet"/>
<link href="${path}/css/footer.css" type="text/css" rel="stylesheet"/>
<link href="${path}/blogManager/fileManager/css/imagesManager.css" type="text/css" rel="stylesheet"/>
<title>File upload</title>
<link rel="short cut icon" HREF="${path}/images/favicon.ico" />
<script >
	Galleria.loadTheme('${path}/jquery/galleria/themes/classic/galleria.classic.js');
</script>
</head>
<body>
<div id="wrapper">
	<#include "/header.ftl" />
	<div id="content">
		<div id="galleria">
		<#list pager.resultList as photo>
			
				<div>
		            <a href="${path}/${photo.url}" alt="Not found" >
		               <img src="${path}/${photo.url}" alt="Not found"  />
		            </a>
		            <span><b>Operator:</b><a href='<@s.url action="deletePhoto" namespace="/blogManager" ><@s.param name="pId" value="${photo.id}" /></@s.url>' style="margin-left:10px;color:#ffffff;font-style:normal"><@s.text name="blogManager.imageManager.delete" /></a></span>
		            <span>Path: ${photo.url}</span>
		        </div>
			
		</#list>
		</div>
		
		<#assign action = "prePhotoManager" />
		<#assign namespace = "/blogManager" />
		<#include "/pager.ftl" />
	</div>
	<#include "/blogManager/managerSidebar.ftl" />

	<#include "/blogManager/managerFooter.ftl" />
	
</div>	
</body>

</html>